home *** CD-ROM | disk | FTP | other *** search
- This application consists of two files: A ToolBook file that stores names and
- addresses and a form letter. The letter is a WordPerfect document file that needs the
- information held in the ToolBook file. The ToolBook application copies text from
- record fields into the clipboard, and by using DDE, pastes this data into the WordPerfect
- document.
-
- The ToolBook file controls everything that happens. It runs WordPerfect and loads the
- document; it copies the information from the record fields to the clipboard; it
- executes commands to paste the text at specific locations; it deletes the
- text that was pasted into the WordPerfect document; it closes WordPerfect. Most of this is done
- via the executeRemote statement. This can be altered in the script of the button that
- starts WordPerfect for Windows with the form letter.
-
- The WordPerfect for Windows functions that are being called in the executeRemote
- statements are macro commands. Having some knowledge of WordPerfect's macros is
- helpful in understanding how the ToolBook application is relating to WordPerfect for
- Windows. You can learn more about macro commands through WordPerfect for
- Windows help.
-
- This application is not intended to be a widgets book, or a completed, robust
- application ready for end-users unfamiliar with ToolBook. It is designed as a
- learning tool for the ToolBook programmer who wishes to know more about
- using DDE to interface with WordPerfect for Windows. To that end, most of the
- OpenScript code is in the script of the buttons on the first page. This makes it
- easier for a programmer to look at the code and decipher what is happening.
-
- To run the application, just start WRDPRFCT.TBK. There are instructions available
- on the first page.
-
-
-
-